<template>
  <div>
    <header>
        <el-row type="flex" class="row-bg" justify="space-between">
          <router-link to="">
            <el-col :span="6">
              <div class="grid-content bg-purple">
                  <span class="iconfont" @click="goback">&#xe609;</span>
              </div>
            </el-col>
          </router-link>
        </el-row>
    </header>
    <div style="height: 40.8px"></div>
  </div>
</template>

<script>
export default {
  name: 'DetailHeader',
  methods: {
     goback() {
        window.history.go(-1);
      },
  }
}
</script>

<style scoped>
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    line-height: 2.5rem;
    background: #67C23A;
    text-align: center;
    }
  .iconfont {
      font-size: 1.6rem;
      color: #fff;
      margin-left: .4rem;
    }
</style>